﻿<log4net>  
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">  
        <file value="Logs\Trace.log" />  
        <appendToFile value="true" />  
        <rollingStyle value="Composite" />  
        <maxSizeRollBackups value="30" />  
        <maximumFileSize value="5000KB" />  
        <layout type="log4net.Layout.PatternLayout">  
            <conversionPattern value="%date [%thread] %-5level - %message%newline" />  
        </layout>  
        <threshold value="DEBUG"/>  
    </appender>  
    <root>  
        <appender-ref ref="RollingFileAppender" />  
    </root>  
</log4net>  